﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MM.Common.Base
{
    public class MessageServer
    {
        // Fields
        private EMessageStatus messageStatus;
        private Queue<ReceiveFunctionInformation> receiveFunctionInformation;
        private Queue<SendMessage> sendMessage;

        // Methods
        public MessageServer()
        {
            this.MessageStatus = EMessageStatus.None;
            this.SendMessage = new Queue<SendMessage>();
            this.ReceiveFunctionInformation = new Queue<ReceiveFunctionInformation>();
        }

        // Properties
        public EMessageStatus MessageStatus
        {
            get
            {
                return this.messageStatus;
            }
            set
            {
                this.messageStatus = value;
            }
        }

        public Queue<ReceiveFunctionInformation> ReceiveFunctionInformation
        {
            get
            {
                return this.receiveFunctionInformation;
            }
            set
            {
                this.receiveFunctionInformation = value;
            }
        }

        public Queue<SendMessage> SendMessage
        {
            get
            {
                return this.sendMessage;
            }
            set
            {
                this.sendMessage = value;
            }
        }
    }
}
